package com.yinhai.mycat_test.entity;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author nan
 */
@Getter
@Setter
@ToString
@ApiModel("订单对象")
public class Order implements Serializable {
    private static final long serialVersionUID = -242847327652668380L;
    private long orderId;
    private long userId;
    protected float totalPrice;      //总价
    private LocalDateTime orderTime;  //订单时间
    private String address;          //送货地址
}
